package com.my.goodsmanage.entity;

import lombok.Data;

import java.util.HashMap;

/**
 * @author 徐佳辉
 * @date 2020/9/25 20:22
 */
@Data
public class Result {

    private int code;
    private String msg;
    private HashMap data;


    public Result() {
    }

    public Result(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Result(int code) {
        this.code = code;
    }

    public Result(int code, String msg, HashMap data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
